package com.hl.sfzy.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

/**
 * 课程订单表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class SysCourseOrders implements Serializable {
    private Integer id;

    private Integer courseId;

    private Integer userId;
    @JsonFormat(pattern = "yy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yy-MM-dd")
    private Date orderTime;
    private SysCourses sysCourses;
    private SysUser sysUser;
    private String del;

    private static final long serialVersionUID = 1L;
}